{% extends "layout.html" %}
{% block content %}
  <ul class='calendars'>
    {% for cal in calendars %}
      <li><a href="{{url_for('show_calendar', cal_id=cal.id )}}"><h2>{{ cal.title }}</h2></a>(id {{ cal.id }})
    {% else %}
      <li><em>No calendars!</em>
    {% endfor %}
  </ul>
  {% if tokens %}
      {% for token in tokens %}
            <h3>{{ token }}</h3>
      {% endfor %}
  {% else %}
        <h3>No tokens!</h3>
    {% endif %}

{{ url_for('static', filename='test.txt') }}
{% endblock %}